package com.xxiongb.business.repository.entity;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="roles")
public class Role {
	private String id;
	private int roleIndex = -1;
	private String name;
	private String description;
	
	public int getRoleIndex() {
		return roleIndex;
	}
	public void setRoleIndex(int roleIndex) {
		this.roleIndex = roleIndex;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getId() {
		return id;
	}
	
	
}
